<%@page import="java.util.Locale"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<title>Insert title here</title>
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/css/common.css">
<meta name="viewport"
	content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>QQ农场后台管理登录</title>
<link rel="stylesheet"
	href="${pageContext.request.contextPath }/assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet"
	href="${pageContext.request.contextPath }/assets/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="${pageContext.request.contextPath }/css/login.css">
<script src="${pageContext.request.contextPath }/assets/jquery/jquery.min.js"></script>
<script src="${pageContext.request.contextPath }/assets/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
	<div class="container">
		<div class="row">
			<div class="col-sm-4 position">
				<div class="form-top">
					<div class="form-top-left">
						<h3>QQ农场后台管理系统</h3>
					</div>
					<div class="form-top-right">
						<i class="fa fa-key"></i>
					</div>
				</div>
				<div class="form-bottom">
					<form role="form"
						action="${pageContext.request.contextPath }/client/UserServlet"
						method="post" class="login-form">
						<input type="hidden" name="method" value="login" />
						<span id="msgid"><font color="red"><h5>${message}</h5></font></span>
						<div class="form-group">
							<label  class="col-sm-4 control-label">用户名：</label>
							<div class="col-sm-8">
								<input type="text" class="form-control" id="username"  name="username"
									placeholder="用户名...">
							</div>	
						</div>

						<div class="form-group">
							<label  class="col-sm-4 control-label">密码：</label>
							<div class="col-sm-8">
								<input type="password" class="form-control"  name="password"
									placeholder="密码...">
							</div>		
						</div>
						<button type="submit" class="btn btn-primary">登录</button>
					</form>
				</div>
			</div>
		</div>
	</div>
</body>
<script type="text/javascript">
$(document).ready(function(){
    $("#username").change(function(){
    	$("#msgid").hide();
    });
});
</script>
</html>